package com.lesson11.waiguan;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/9/2 19:25
 */
public class TouYing
{
    private TouYing(){}

    private static TouYing instance = new TouYing();

    public static TouYing getInstance(){
        return instance;
    }

    public void on(){
        System.out.println("投影仪on");
    }

    public void off(){
        System.out.println("投影仪off");
    }

    public void focus(){
        System.out.println("投影仪focus");
    }
}
